FROM openjdk:8-jre-alpine
VOLUME /eureka/
ADD ./target/eureka-1.0.jar ./
ADD ./eureka-docker.yml ./
ENTRYPOINT ["java","-jar","eureka-1.0.jar","--spring.config.location=eureka-docker.yml"]
EXPOSE 8761
